<template>
  <div class="about">
    <div class="about-header">
      <h2>关于题库系统</h2>
      <p class="header-subtitle">了解我们的使命和系统特点</p>
    </div>
    
    <div class="about-content">
      <div class="intro-section">
        <p class="intro-text">题库系统是一个专为教育机构和学习者设计的综合性解决方案。我们的目标是提供一个易用、高效的平台，帮助用户管理题目、生成试卷和进行在线考试。</p>
        <p class="intro-text">通过创新的技术和用户友好的设计，我们致力于提升教学和学习体验，让教育更加智能化和个性化。</p>
      </div>
      
      <div class="features-section">
        <h3>系统特点</h3>
        <div class="features-grid">
          <div class="feature-item">
            <div class="feature-icon">📋</div>
            <div class="feature-content">
              <h4>多种题型支持</h4>
              <p>支持选择题、填空题、简答题等多种题型，满足不同学科需求</p>
            </div>
          </div>
          
          <div class="feature-item">
            <div class="feature-icon">🤖</div>
            <div class="feature-content">
              <h4>智能组卷</h4>
              <p>根据难度、知识点自动生成试卷，节省教师时间</p>
            </div>
          </div>
          
          <div class="feature-item">
            <div class="feature-icon">📊</div>
            <div class="feature-content">
              <h4>数据分析</h4>
              <p>考试结果统计和分析，帮助了解学习效果</p>
            </div>
          </div>
          
          <div class="feature-item">
            <div class="feature-icon">🎨</div>
            <div class="feature-content">
              <h4>用户友好</h4>
              <p>简洁直观的操作界面，提升用户体验</p>
            </div>
          </div>
        </div>
      </div>
      
      <div class="mission-section">
        <h3>我们的使命</h3>
        <blockquote>
          通过技术创新推动教育现代化，让每一位教育工作者和学习者都能享受到科技带来的便利。
        </blockquote>
      </div>
    </div>
  </div>
</template>

<script setup>
// About.vue - 关于页面组件
</script>

<style scoped>
.about {
  padding: 15px;
  max-width: 1000px;
  margin: 0 auto;
  height: calc(100vh - 54px);
  display: flex;
  flex-direction: column;
}

.about-header {
  text-align: center;
  margin-bottom: 20px;
  padding: 20px;
  background: linear-gradient(135deg, #f5f7fa 0%, #e4e7f1 100%);
  border-radius: 8px;
  flex-shrink: 0;
}

.about-header h2 {
  font-size: 1.8rem;
  font-weight: 700;
  color: #333;
  margin-bottom: 8px;
}

.header-subtitle {
  font-size: 1rem;
  color: #666;
}

.about-content {
  display: flex;
  flex-direction: column;
  gap: 20px;
  flex: 1;
  min-height: 0;
  overflow-y: auto;
}

.intro-section {
  background: white;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  border: 1px solid #eee;
}

.intro-text {
  font-size: 1rem;
  line-height: 1.7;
  color: #555;
  margin-bottom: 15px;
}

.intro-text:last-child {
  margin-bottom: 0;
}

.features-section h3,
.mission-section h3 {
  font-size: 1.5rem;
  font-weight: 600;
  color: #333;
  margin-bottom: 20px;
  text-align: center;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 15px;
}

.feature-item {
  display: flex;
  gap: 15px;
  padding: 15px;
  background: #f8f9fa;
  border-radius: 8px;
  transition: all 0.3s ease;
  border: 1px solid #eee;
}

.feature-item:hover {
  background: white;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  transform: translateY(-2px);
}

.feature-icon {
  font-size: 1.5rem;
  flex-shrink: 0;
}

.feature-content h4 {
  font-size: 1.1rem;
  font-weight: 600;
  color: #333;
  margin-bottom: 6px;
}

.feature-content p {
  color: #666;
  line-height: 1.5;
  font-size: 0.95rem;
}

.mission-section {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  padding: 25px;
  border-radius: 8px;
  color: white;
  text-align: center;
}

.mission-section h3 {
  color: white;
  margin-bottom: 15px;
}

.mission-section blockquote {
  font-size: 1.1rem;
  font-style: italic;
  line-height: 1.7;
  max-width: 700px;
  margin: 0 auto;
  padding: 15px;
  border-left: 3px solid rgba(255, 255, 255, 0.5);
}

@media (max-width: 768px) {
  .about {
    padding: 10px;
  }
  
  .about-header h2 {
    font-size: 1.6rem;
  }
  
  .features-grid {
    grid-template-columns: 1fr;
  }
  
  .mission-section {
    padding: 20px 15px;
  }
  
  .mission-section blockquote {
    font-size: 1rem;
  }
  
  .feature-item {
    gap: 12px;
    padding: 12px;
  }
}
</style>